if &compatible
  set nocompatible
endif

filetype off

" Assuming that plugins are installed in the same folder, e.g. ~/.vim/plugged
let omnisharpdir = expand("\<sfile>:h:h")
let plugindir = fnamemodify(omnisharpdir, ':h')

" Dependency to vader.vim
let &runtimepath .= ',' . plugindir . '/vader.vim'
let &runtimepath .= ',' . omnisharpdir

filetype plugin indent on
syntax on
set cmdheight=3

let g:OmniSharp_server_stdio = 1
let g:OmniSharp_start_without_solution = 1
let g:OmniSharp_highlighting = 0
let g:OmniSharp_selector_ui = ''
let g:OmniSharp_open_quickfix = 0
let g:OmniSharp_loglevel = 'info'

let g:OmniSharp_popup = 0
let g:OmniSharp_test_timeout = 10
